import java.util.Scanner;

/**
   Reads a string, checks to see if it is a palindrome, and prints
      "Yes" or "No", accordingly. 
   Input: the value of s, a string
   Output: "Yes" or "No"
*/
public class PalFind
{
   public static void main(String[] args)
   {
      // Read string and convert to lowercase
      Scanner in = new Scanner(System.in);
      String ins = in.nextLine();
      ins=ins.toLowerCase();
      // your work here
      int s=ins.length();
      int k=0;
      int t=0;
      for(int i=s-1;i>=s/2;i--) {
         if(ins.charAt(i)!=ins.charAt(k++)) {
            t=1;
         }
      }
      if(t==0) {
         System.out.println("yes");
      }
      else {
         System.out.println("no");
      }


   }
}